package com.boot.service;

import com.boot.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.utils.Result;

/**
* @author liyang
* @description 针对表【news_user】的数据库操作Service
* @createDate 2025-04-14 13:27:54
*/
public interface UserService extends IService<User> {
    Result login(User user);

    Result getUserInfo(String token);

    Result checkUserName(String username);

    Result register(User user);
    Result getRefreshToken(String refreshToken);
}
